package com.example.demo.client.evt.cssmqry.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Desc
 * @Author zhengmf
 * @Date 2019-12-18 15:02:53
 */
@ApiModel("查询某个用户参数")
public class QryUserEvt implements Serializable {
    private static final long serialVersionUID = -1980509892391237642L;
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty(value = "登录名",notes = "精确匹配")
    private String loginName;

    public QryUserEvt() {
    }

    public QryUserEvt(Long userId) {
        this.userId = userId;
    }

    public QryUserEvt(String loginName) {
        this.loginName = loginName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    @Override
    public String toString() {
        return "QryUserEvt{" +
            "userId=" + userId +
            ", loginName='" + loginName + '\'' +
            '}';
    }
}
